cmake_minimum_required(VERSION 2.8)

include(Properties.cmake)
 
project(${NAME} CXX)

include(SBE/DeployDependencies)
include(SBE/AddBinaryTargets)
include(SBE/AddInstallTarget)
include(SBE/AddUninstallTarget)
include(SBE/AddTagTarget)

addBinaryTarget(
    TARGET_NAME ${NAME}
    TARGET_TYPE ${TYPE}
    SOURCES
        src/ConsolePrinter.cpp
    PUBLIC_HEADERS
        src/ConsolePrinter.h
        src/Printer.h
        test/mock/MockPrinter.h        
    HANDLE_DECLSPEC
    CREATED_TAGET_NAME target
)

addInstallTarget(
    PACKAGE_NAME ${NAME}
    TARGETS_NAMES ${target}
    INCLUDE_PATH_REPLACE 
        "src/.* -> " 
        "test/mock/.* -> mock/"
)

